﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace JU.MODEL
{
    public class Goods
    {
        /// <summary>
        /// 商品列表Id。自增，起始值为1，增长值为1
        /// </summary>		
        private int _goodsid;
        public int GoodsId
        {
            get { return _goodsid; }
            set { _goodsid = value; }
        }

        /// <summary>
        /// 商品类型Id
        /// </summary>		
        private int _goodstypeid;
        public int GoodsTypeId
        {
            get { return _goodstypeid; }
            set { _goodstypeid = value; }
        }

        /// <summary>
        /// 商品名称
        /// </summary>		
        private string _goodsname;
        public string GoodsName
        {
            get { return _goodsname; }
            set { _goodsname = value; }
        }

        /// <summary>
        /// 商品品牌
        /// </summary>		
        private string _brand;
        public string Brand
        {
            get { return _brand; }
            set { _brand = value; }
        }

        /// <summary>
        /// 商品售价
        /// </summary>		
        private decimal _price;
        public decimal Price
        {
            get { return _price; }
            set { _price = value; }
        }

        /// <summary>
        /// 商品减价多少，默认为0
        /// </summary>		
        private decimal _pricereduction;
        public decimal PriceReduction
        {
            get { return _pricereduction; }
            set { _pricereduction = value; }
        }

        /// <summary>
        /// 商品折扣，默认为0，意为不打折
        /// </summary>		
        private decimal _discount;
        public decimal Discount
        {
            get { return _discount; }
            set { _discount = value; }
        }

        /// <summary>
        /// 库存，默认为0，意为无货
        /// </summary>		
        private int _stock;
        public int Stock
        {
            get { return _stock; }
            set { _stock = value; }
        }

        /// <summary>
        /// 无理由退货日期
        /// </summary>		
        private string _return;
        public string Return
        {
            get { return _return; }
            set { _return = value; }
        }

        /// <summary>
        /// 包换日期
        /// </summary>		
        private string _replace;
        public string Replace
        {
            get { return _replace; }
            set { _replace = value; }
        }

        /// <summary>
        /// 保修日期
        /// </summary>		
        private string _warranty;
        public string Warranty
        {
            get { return _warranty; }
            set { _warranty = value; }
        }

        /// <summary>
        /// 上市时间
        /// </summary>		
        private DateTime _marketdate;
        public DateTime MarketDate
        {
            get { return _marketdate; }
            set { _marketdate = value; }
        }

        /// <summary>
        /// 是否删除，默认为0，意为未删除
        /// </summary>		
        private bool _isdel;
        public bool IsDel
        {
            get { return _isdel; }
            set { _isdel = value; }
        }
    }
}
